FROM hub.51chain.net/library/oracle-jre-ubuntu-cn:1.8.0_60
ENV HSL_CFG_PATH /etc/hsl
RUN mkdir -p /etc/hsl
ADD hschain /etc/hsl
ADD genesis.block /etc/hsl
ADD contract-base.jar /etc/hsl
ADD keystore.json  /etc/hsl
ADD common_config.yaml  /etc/hsl
WORKDIR  /etc/hsl
CMD [ "/etc/hsl/hschain" ]
